package com.education.wisdom.service;

import com.education.wisdom.pojo.JrReportform;
import com.education.wisdom.pojo.dto.JrReportformDTO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 举报 服务层
 *
 * @author d
 * @date 2020-07-11
 */
public interface IJrReportformService {

    /**
     * 查询举报信息
     *
     * @param id 举报ID
     * @return 举报信息
     */
    public JrReportform selectJrReportformById(Integer id);

    /**
     * 查询举报列表
     *
     * @param jrReportform 举报信息
     * @return 举报集合
     */
    public List<JrReportform> selectJrReportformList(JrReportform jrReportform);

    /**
     * 新增举报
     *
     * @param jrReportform 举报信息
     * @return 结果
     */
    public int insertJrReportform(JrReportform jrReportform);

    /**
     * 修改举报
     *
     * @param jrReportform 举报信息
     * @return 结果
     */
    public int updateJrReportform(JrReportform jrReportform);

    /**
     * 删除举报信息
     *
     * @param id 需要删除的数据ID
     * @return 结果
     */
    public int deleteJrReportformById(Integer id);

    /**
     * 删除举报信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteJrReportformByIds(String ids);

    PageInfo<JrReportformDTO> pageList(JrReportformDTO jrReportform);
}